﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    Codebehind="LicenseCheck.aspx.cs" Inherits="Ankin.EHBH.Web.Modules.StockManage.LicenseCheck"
    Title="医用耗材管理系统" %>
<%@ Import Namespace="System.Data" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphcenter" runat="server"> 
 <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
 <script src="../../js/jquery.flexselect.js" type="text/javascript"></script>
 <script src="../../js/liquidmetal.js" type="text/javascript"></script>
 <script type="text/javascript">
      $(document).ready(function() {
        $("select[class*=flexselect]").flexselect();
        

        })
  </script>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td class="right-color">资质校验</td>
        </tr>
    </table>
             
    <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:14px;">
        <tr>
            <td class="bor bor-bg">资质校验</td>
        </tr>
        <tr>
        <td class="bor">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t1">
        <tr>
            <td align="right">
                产品名称：</td>
            <td>
                <asp:DropDownList ID="ddlExp_Name" runat="server" CssClass="flexselect" Width="175">
                </asp:DropDownList>
                <div style="display:none">

                <asp:TextBox ID="TxtExpName" runat="server" OnTextChanged="TxtExpName_TextChanged" AutoPostBack="True" Width="175"></asp:TextBox>
                </div></td>
            <td align="right">
                规格型号：</td>
            <td><asp:DropDownList ID="ddlSpec" Width="175" runat="server">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right">
                供货单位：</td>
            <td colspan="2"><asp:DropDownList ID="ddlSell" runat="server" CssClass="flexselect" Width="175">
                </asp:DropDownList></td>
            <td><asp:Button ID="btnCheck" runat="server" OnClick="Button1_Click" Text="校验" CssClass="button" Width="57" Height="25" style="cursor:pointer;" /></td>
        </tr>
        <tr>
            <td colspan="4">
                <%--<asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <div class="header" id="header">
                            Northwind Employees</div>
                    </HeaderTemplate>
                    <SeparatorTemplate>
                        <hr />
                    </SeparatorTemplate>
                    <ItemTemplate>
                        <div class="row">
                            <%# ((DataRowView)Container.DataItem)["FirstName"] %>
                            <%# ((DataRowView)Container.DataItem)["LastName"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["Address"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["City"] %>
                            ,
                            <%# ((DataRowView)Container.DataItem)["Region"] %>
                            <%# ((DataRowView)Container.DataItem)["PostalCode"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["HomePhone"] %>
                        </div>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <div class="alternate">
                            <%# ((DataRowView)Container.DataItem)["FirstName"] %>
                            <%# ((DataRowView)Container.DataItem)["LastName"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["Address"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["City"] %>
                            ,
                            <%# ((DataRowView)Container.DataItem)["Region"] %>
                            <%# ((DataRowView)Container.DataItem)["PostalCode"] %>
                            <br>
                            <%# ((DataRowView)Container.DataItem)["HomePhone"] %>
                        </div>
                    </AlternatingItemTemplate>
                    <FooterTemplate>
                        <div class="footer">
                            <%# ((DataView)Repeater1.DataSource).Count + " employees found." %>
                        </div>
                    </FooterTemplate>
                </asp:Repeater>--%>
                <asp:GridView ID="gvLicense" Width="95%" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvLicense_RowDataBound" EnableViewState="false">
                 <RowStyle CssClass="gv-first-line"/>
                 <EmptyDataTemplate>
            <table width="100%">
                
                <tr>
                    <td align="center" class="jg">
                        对不起，没有校验信息
                    </td>
                </tr>
            </table>
        </EmptyDataTemplate>
                    <Columns>
                        <asp:BoundField DataField="ITEM_NAME" HeaderText="单位类型" />
                        <asp:BoundField DataField="SELLNAME"  HeaderText="单位名称" />
                        <asp:BoundField DataField="LICENSE_NAME" HeaderText="经营许可证" />
                        <asp:BoundField DataField="LICENSE_CODE" HeaderText="产品注册号" />
                        <asp:BoundField DataField="PARENTNAME" HeaderText="授权单位" />
                        <asp:BoundField DataField="EXPIRE_DATE" HeaderText="有效期" />
                        <asp:BoundField  DataField="STATUS" HeaderText="验证结果" />
                    </Columns>
                     <PagerStyle CssClass="fy" />
                      <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                      <HeaderStyle  CssClass="gv-head" />
                      <EditRowStyle BackColor="#2461BF" />
                      <AlternatingRowStyle BackColor="White" />
                      <PagerSettings Mode="NumericFirstLast" FirstPageText="首页" LastPageText="末页"/>
                </asp:GridView>
                
                </td>
        </tr>

    </table>
        </td>
        </tr>
</table>
</asp:Content>
